-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 [Frontend] PO Center: Approval/Deny of account requests #8046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Refactors the user review flow by renaming “Pending Users” to “Review Users,” streamlining approval/rejection actions with confirmation dialogs, status icons, and automatic reloads.
- Renames “Pending Users” tab to “Review Users” and always enables it
- Replaces old approve/reject buttons with
__createApproveButton/__createRejectButton, adding confirmation pop-ups - Introduces status icons, sorts by review date, and adds an auto-reload helper
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| services/static-webserver/client/source/class/osparc/po/UsersPending.js | Overhauled approval/rejection logic: added confirmation dialogs, status icons, reload logic, and function renames |
| services/static-webserver/client/source/class/osparc/po/POCenter.js | Renamed and always includes the “Review Users” tab instead of a development-only page |
Comments suppressed due to low confidence (1)
services/static-webserver/client/source/class/osparc/po/UsersPending.js:321
- The template string for the reject confirmation message has an extra double quote and embeds HTML (
<br>), which may lead to malformed output or unexpected behavior. Remove the stray quote and consider using a newline or UI-provided formatting instead of raw HTML.
const msg = `Are you sure you want to reject ${email}.<br>The operation cannot be reverted"`;
matusdrobuliak66
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 04ffd16 |



What do these changes do?
Are you sure you want to reject {email}. The operation cannot be revertedAre you sure you want to approve {email} with 100$ credit and expired=3days. We will proceed to send an invitation email?Review UsersaccountRequestReviewedAtRelated issue/s
How to test
Dev-ops